import React, { Component } from 'react';
import {
    StyleSheet,
} from 'react-native';
export default  class HttpPost {
   static urlRequest() {
        let Url = 'https://vests.leanapp.cn/api';
        let payload={
            appID:'123',
            version:'1.0.0',
            bundleID:'com.yang.V2ssc',
        };
        let Obvers = {
            method: 'POST',
            headers: {
                'Accept': 'application/json',
                'Content-Type': 'application/json',
            },
            body: JSON.stringify(payload)
        };
        return fetch(Url,Obvers).then(data=>data.json());
        
    }
}